package views.roller
{
	import flash.display.DisplayObject;
	import flash.display.Sprite;
	import flash.events.Event;
	import flash.events.MouseEvent;
	import flash.geom.Matrix;
	import flash.geom.Point;

	public class RollItem
	{
		internal var foldMatrix:Matrix;
		internal var unfoldMatrix:Matrix;
		internal var effectingMatrix:Matrix;
		
		public var view:DisplayObject;
		public var origin:Point;
		public var roller:Vector.<Point>;
		
		public var callback:Function;
		public var data:Object;
		
		public function RollItem(view:DisplayObject,origin:Point,roller:Array,callback:Function = null)
		{
			this.view = view;
			this.origin = origin;

			this.roller = new Vector.<Point>;
			this.roller.push(roller[0],roller[1]);
			
			this.callback = callback;
		}
		
	}
}